package com.tjmc.tiomscore.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TranPtnHwMtrExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TranPtnHwMtrExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andRmuidIsNull() {
            addCriterion("rmuid is null");
            return (Criteria) this;
        }

        public Criteria andRmuidIsNotNull() {
            addCriterion("rmuid is not null");
            return (Criteria) this;
        }

        public Criteria andRmuidEqualTo(String value) {
            addCriterion("rmuid =", value, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidNotEqualTo(String value) {
            addCriterion("rmuid <>", value, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidGreaterThan(String value) {
            addCriterion("rmuid >", value, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidGreaterThanOrEqualTo(String value) {
            addCriterion("rmuid >=", value, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidLessThan(String value) {
            addCriterion("rmuid <", value, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidLessThanOrEqualTo(String value) {
            addCriterion("rmuid <=", value, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidLike(String value) {
            addCriterion("rmuid like", value, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidNotLike(String value) {
            addCriterion("rmuid not like", value, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidIn(List<String> values) {
            addCriterion("rmuid in", values, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidNotIn(List<String> values) {
            addCriterion("rmuid not in", values, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidBetween(String value1, String value2) {
            addCriterion("rmuid between", value1, value2, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidNotBetween(String value1, String value2) {
            addCriterion("rmuid not between", value1, value2, "rmuid");
            return (Criteria) this;
        }

        public Criteria andNermuidIsNull() {
            addCriterion("nermuid is null");
            return (Criteria) this;
        }

        public Criteria andNermuidIsNotNull() {
            addCriterion("nermuid is not null");
            return (Criteria) this;
        }

        public Criteria andNermuidEqualTo(String value) {
            addCriterion("nermuid =", value, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidNotEqualTo(String value) {
            addCriterion("nermuid <>", value, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidGreaterThan(String value) {
            addCriterion("nermuid >", value, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidGreaterThanOrEqualTo(String value) {
            addCriterion("nermuid >=", value, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidLessThan(String value) {
            addCriterion("nermuid <", value, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidLessThanOrEqualTo(String value) {
            addCriterion("nermuid <=", value, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidLike(String value) {
            addCriterion("nermuid like", value, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidNotLike(String value) {
            addCriterion("nermuid not like", value, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidIn(List<String> values) {
            addCriterion("nermuid in", values, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidNotIn(List<String> values) {
            addCriterion("nermuid not in", values, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidBetween(String value1, String value2) {
            addCriterion("nermuid between", value1, value2, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidNotBetween(String value1, String value2) {
            addCriterion("nermuid not between", value1, value2, "nermuid");
            return (Criteria) this;
        }

        public Criteria andWestportrmuidIsNull() {
            addCriterion("westportrmuid is null");
            return (Criteria) this;
        }

        public Criteria andWestportrmuidIsNotNull() {
            addCriterion("westportrmuid is not null");
            return (Criteria) this;
        }

        public Criteria andWestportrmuidEqualTo(String value) {
            addCriterion("westportrmuid =", value, "westportrmuid");
            return (Criteria) this;
        }

        public Criteria andWestportrmuidNotEqualTo(String value) {
            addCriterion("westportrmuid <>", value, "westportrmuid");
            return (Criteria) this;
        }

        public Criteria andWestportrmuidGreaterThan(String value) {
            addCriterion("westportrmuid >", value, "westportrmuid");
            return (Criteria) this;
        }

        public Criteria andWestportrmuidGreaterThanOrEqualTo(String value) {
            addCriterion("westportrmuid >=", value, "westportrmuid");
            return (Criteria) this;
        }

        public Criteria andWestportrmuidLessThan(String value) {
            addCriterion("westportrmuid <", value, "westportrmuid");
            return (Criteria) this;
        }

        public Criteria andWestportrmuidLessThanOrEqualTo(String value) {
            addCriterion("westportrmuid <=", value, "westportrmuid");
            return (Criteria) this;
        }

        public Criteria andWestportrmuidLike(String value) {
            addCriterion("westportrmuid like", value, "westportrmuid");
            return (Criteria) this;
        }

        public Criteria andWestportrmuidNotLike(String value) {
            addCriterion("westportrmuid not like", value, "westportrmuid");
            return (Criteria) this;
        }

        public Criteria andWestportrmuidIn(List<String> values) {
            addCriterion("westportrmuid in", values, "westportrmuid");
            return (Criteria) this;
        }

        public Criteria andWestportrmuidNotIn(List<String> values) {
            addCriterion("westportrmuid not in", values, "westportrmuid");
            return (Criteria) this;
        }

        public Criteria andWestportrmuidBetween(String value1, String value2) {
            addCriterion("westportrmuid between", value1, value2, "westportrmuid");
            return (Criteria) this;
        }

        public Criteria andWestportrmuidNotBetween(String value1, String value2) {
            addCriterion("westportrmuid not between", value1, value2, "westportrmuid");
            return (Criteria) this;
        }

        public Criteria andEastportrmuidIsNull() {
            addCriterion("eastportrmuid is null");
            return (Criteria) this;
        }

        public Criteria andEastportrmuidIsNotNull() {
            addCriterion("eastportrmuid is not null");
            return (Criteria) this;
        }

        public Criteria andEastportrmuidEqualTo(String value) {
            addCriterion("eastportrmuid =", value, "eastportrmuid");
            return (Criteria) this;
        }

        public Criteria andEastportrmuidNotEqualTo(String value) {
            addCriterion("eastportrmuid <>", value, "eastportrmuid");
            return (Criteria) this;
        }

        public Criteria andEastportrmuidGreaterThan(String value) {
            addCriterion("eastportrmuid >", value, "eastportrmuid");
            return (Criteria) this;
        }

        public Criteria andEastportrmuidGreaterThanOrEqualTo(String value) {
            addCriterion("eastportrmuid >=", value, "eastportrmuid");
            return (Criteria) this;
        }

        public Criteria andEastportrmuidLessThan(String value) {
            addCriterion("eastportrmuid <", value, "eastportrmuid");
            return (Criteria) this;
        }

        public Criteria andEastportrmuidLessThanOrEqualTo(String value) {
            addCriterion("eastportrmuid <=", value, "eastportrmuid");
            return (Criteria) this;
        }

        public Criteria andEastportrmuidLike(String value) {
            addCriterion("eastportrmuid like", value, "eastportrmuid");
            return (Criteria) this;
        }

        public Criteria andEastportrmuidNotLike(String value) {
            addCriterion("eastportrmuid not like", value, "eastportrmuid");
            return (Criteria) this;
        }

        public Criteria andEastportrmuidIn(List<String> values) {
            addCriterion("eastportrmuid in", values, "eastportrmuid");
            return (Criteria) this;
        }

        public Criteria andEastportrmuidNotIn(List<String> values) {
            addCriterion("eastportrmuid not in", values, "eastportrmuid");
            return (Criteria) this;
        }

        public Criteria andEastportrmuidBetween(String value1, String value2) {
            addCriterion("eastportrmuid between", value1, value2, "eastportrmuid");
            return (Criteria) this;
        }

        public Criteria andEastportrmuidNotBetween(String value1, String value2) {
            addCriterion("eastportrmuid not between", value1, value2, "eastportrmuid");
            return (Criteria) this;
        }

        public Criteria andNodeidIsNull() {
            addCriterion("nodeid is null");
            return (Criteria) this;
        }

        public Criteria andNodeidIsNotNull() {
            addCriterion("nodeid is not null");
            return (Criteria) this;
        }

        public Criteria andNodeidEqualTo(String value) {
            addCriterion("nodeid =", value, "nodeid");
            return (Criteria) this;
        }

        public Criteria andNodeidNotEqualTo(String value) {
            addCriterion("nodeid <>", value, "nodeid");
            return (Criteria) this;
        }

        public Criteria andNodeidGreaterThan(String value) {
            addCriterion("nodeid >", value, "nodeid");
            return (Criteria) this;
        }

        public Criteria andNodeidGreaterThanOrEqualTo(String value) {
            addCriterion("nodeid >=", value, "nodeid");
            return (Criteria) this;
        }

        public Criteria andNodeidLessThan(String value) {
            addCriterion("nodeid <", value, "nodeid");
            return (Criteria) this;
        }

        public Criteria andNodeidLessThanOrEqualTo(String value) {
            addCriterion("nodeid <=", value, "nodeid");
            return (Criteria) this;
        }

        public Criteria andNodeidLike(String value) {
            addCriterion("nodeid like", value, "nodeid");
            return (Criteria) this;
        }

        public Criteria andNodeidNotLike(String value) {
            addCriterion("nodeid not like", value, "nodeid");
            return (Criteria) this;
        }

        public Criteria andNodeidIn(List<String> values) {
            addCriterion("nodeid in", values, "nodeid");
            return (Criteria) this;
        }

        public Criteria andNodeidNotIn(List<String> values) {
            addCriterion("nodeid not in", values, "nodeid");
            return (Criteria) this;
        }

        public Criteria andNodeidBetween(String value1, String value2) {
            addCriterion("nodeid between", value1, value2, "nodeid");
            return (Criteria) this;
        }

        public Criteria andNodeidNotBetween(String value1, String value2) {
            addCriterion("nodeid not between", value1, value2, "nodeid");
            return (Criteria) this;
        }

        public Criteria andWtrtimeIsNull() {
            addCriterion("wtrtime is null");
            return (Criteria) this;
        }

        public Criteria andWtrtimeIsNotNull() {
            addCriterion("wtrtime is not null");
            return (Criteria) this;
        }

        public Criteria andWtrtimeEqualTo(String value) {
            addCriterion("wtrtime =", value, "wtrtime");
            return (Criteria) this;
        }

        public Criteria andWtrtimeNotEqualTo(String value) {
            addCriterion("wtrtime <>", value, "wtrtime");
            return (Criteria) this;
        }

        public Criteria andWtrtimeGreaterThan(String value) {
            addCriterion("wtrtime >", value, "wtrtime");
            return (Criteria) this;
        }

        public Criteria andWtrtimeGreaterThanOrEqualTo(String value) {
            addCriterion("wtrtime >=", value, "wtrtime");
            return (Criteria) this;
        }

        public Criteria andWtrtimeLessThan(String value) {
            addCriterion("wtrtime <", value, "wtrtime");
            return (Criteria) this;
        }

        public Criteria andWtrtimeLessThanOrEqualTo(String value) {
            addCriterion("wtrtime <=", value, "wtrtime");
            return (Criteria) this;
        }

        public Criteria andWtrtimeLike(String value) {
            addCriterion("wtrtime like", value, "wtrtime");
            return (Criteria) this;
        }

        public Criteria andWtrtimeNotLike(String value) {
            addCriterion("wtrtime not like", value, "wtrtime");
            return (Criteria) this;
        }

        public Criteria andWtrtimeIn(List<String> values) {
            addCriterion("wtrtime in", values, "wtrtime");
            return (Criteria) this;
        }

        public Criteria andWtrtimeNotIn(List<String> values) {
            addCriterion("wtrtime not in", values, "wtrtime");
            return (Criteria) this;
        }

        public Criteria andWtrtimeBetween(String value1, String value2) {
            addCriterion("wtrtime between", value1, value2, "wtrtime");
            return (Criteria) this;
        }

        public Criteria andWtrtimeNotBetween(String value1, String value2) {
            addCriterion("wtrtime not between", value1, value2, "wtrtime");
            return (Criteria) this;
        }

        public Criteria andReversionmodeIsNull() {
            addCriterion("reversionmode is null");
            return (Criteria) this;
        }

        public Criteria andReversionmodeIsNotNull() {
            addCriterion("reversionmode is not null");
            return (Criteria) this;
        }

        public Criteria andReversionmodeEqualTo(String value) {
            addCriterion("reversionmode =", value, "reversionmode");
            return (Criteria) this;
        }

        public Criteria andReversionmodeNotEqualTo(String value) {
            addCriterion("reversionmode <>", value, "reversionmode");
            return (Criteria) this;
        }

        public Criteria andReversionmodeGreaterThan(String value) {
            addCriterion("reversionmode >", value, "reversionmode");
            return (Criteria) this;
        }

        public Criteria andReversionmodeGreaterThanOrEqualTo(String value) {
            addCriterion("reversionmode >=", value, "reversionmode");
            return (Criteria) this;
        }

        public Criteria andReversionmodeLessThan(String value) {
            addCriterion("reversionmode <", value, "reversionmode");
            return (Criteria) this;
        }

        public Criteria andReversionmodeLessThanOrEqualTo(String value) {
            addCriterion("reversionmode <=", value, "reversionmode");
            return (Criteria) this;
        }

        public Criteria andReversionmodeLike(String value) {
            addCriterion("reversionmode like", value, "reversionmode");
            return (Criteria) this;
        }

        public Criteria andReversionmodeNotLike(String value) {
            addCriterion("reversionmode not like", value, "reversionmode");
            return (Criteria) this;
        }

        public Criteria andReversionmodeIn(List<String> values) {
            addCriterion("reversionmode in", values, "reversionmode");
            return (Criteria) this;
        }

        public Criteria andReversionmodeNotIn(List<String> values) {
            addCriterion("reversionmode not in", values, "reversionmode");
            return (Criteria) this;
        }

        public Criteria andReversionmodeBetween(String value1, String value2) {
            addCriterion("reversionmode between", value1, value2, "reversionmode");
            return (Criteria) this;
        }

        public Criteria andReversionmodeNotBetween(String value1, String value2) {
            addCriterion("reversionmode not between", value1, value2, "reversionmode");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("updateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("updateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("updateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("updateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("updateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("updateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("updateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("updateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("updateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}